<?php

?>
<div class="reward-caption">
	<h4><?php echo strip_tags($program['caption']); ?></h4>
</div>
<?php foreach ($rows as $r) { ?>
<div class="reward">
	<div class="reward-points"><?php echo $r['required_points']; ?></div>
	<div class="reward-content">
		<div class="reward-title"><?php echo strip_tags($r['title']); ?></div>
		<div class="reward-desc"><i><?php echo strip_tags($r['description']); ?></i></div>
	</div>
</div>
<?php } ?>
<?php if (!empty($program['terms'])) { ?>
<div class="reward-terms">
	<div class="reward-terms-lbl">
		<?php echo BUtils::T('terms_conditions_lbl'); ?>
	</div>
	<div class="reward-terms-desc">
		<?php echo strip_tags($program['terms']); ?>
	</div>
</div>
<?php } ?>